Fork me on GitHub

If you’re new to GitHub and open source in general, figuring out how to get set up can be a challenge. This guide is for getting started with GitHub, and specifically targets LLNL developers working in the LLNL GitHub organization.

Setting up Your GitHub Account

If you’re new to GitHub, you may want to read through the GitHub Help pages on Setting up and managing your GitHub profile. Here are some of the highlights:

  1. Create an account on GitHub

  2. Update your profile information

    • Photo: A headshot photo, or image that is uniquely you.
    • Name: Your first and last name.
    • Bio: Include a few words about yourself! Don’t forget to mention @LLNL.
    • URL: This might be your page, or a personal website if you prefer.
    • Company: Probably Lawrence Livermore National Laboratory, @LLNL.
    • Location: Your primary location.
  3. Add your @LLNL email address (and any aliases) to your Email Settings page.

  4. Enable two-factor authentication (2FA)

    • Membership in the @LLNL GitHub organization will soon require that 2FA has been enabled on your GitHub account
    • There are several options for configuring 2FA for your GitHub account:
      1. YubiKey hardware security keys
        • Note that the YubiKey deployment (called “MyPass” at LLNL) is in its pilot phase, and not all users have them yet.
        • YubiKeys are the preferred 2FA option, due to the security of the YubiKey hardware tokens. If you have been issued your LLNL YubiKeys they are highly recommended for securing your GitHub (and other) accounts which support them.
        • Learn more about setting up your Yubikey with
      2. Google Authenticator
      3. Authy.
        • Authy is a desktop- or laptop-based application which can be used to generate a one-time token (OTP) for use logging in to
        • This option is usually best for when you do all or most of your work in an environment where you do not have access to a mobile phone or USB YubiKey.
        • Learn more about setting up Authy with
    • You will also have the option during 2FA to generate and save a list of recovery codes to get into your account in the event you lose access to one of your 2FA methods. This is highly recommended, and the recovery codes should be stored someplace safe. Some options for storing your recovery codes include:
      • Printing the codes and storing them in a safe place in your office.
      • Storing the recovery codes in a password manager that you might be using.
    • We recommend that you set up MULTIPLE 2FA options. This can protect your access to your account in the event that you lose access to one of your authenticators.
    • For more information, check out the Two-factor Authentication post on the GitHub Blog.
    • Having trouble setting up 2FA? Contact the LLNL GitHub Admins who may be able to help.

Joining the Organization

If you are an employee at LLNL and have 2FA enabled, congratulations! You are eligible to join the LLNL GitHub organization.

  1. Send an email, with your GitHub username included, to from your email, requesting to be added to the organization.

  2. After an administrator has added you to the organization, you will receive a notification email from GitHub.

    • Alternatively, once the invitation has been sent, you will see a notification banner at the top of which you can use to accept the invitation.
  3. Head over to the @LLNL People page and make your membership Public.

  4. Review the “Working with LLNL Repositories” information below.

  5. Welcome to the organization!

Working with LLNL Repositories

Repositories within the LLNL organization are owned and managed by LLNL. Please do not create personal repositories here.

Remember, all information produced by LLNL must follow the guidance set forth by the LLNL Information Management (IM) Policy for both initial release and incremental contributions .

Repository Content

Before content is placed into an LLNL repository, it should be reviewed and released via the IM process. Once released, an appropriate open source license and LLNL-CODE- release number should be provided and included in the repository.

Remember that these repositories are hosted on GitHub servers, NOT LLNL servers, and content placed in them should be limited to “email like” communications. That means:

When in doubt, contact a Derivative Classifier (DC) and/or IM for further guidance.

Repository Visibility

Now that your project is on GitHub, make sure users and contributors can find it! There are several ways to do this. Contact for help with the following tasks:

Other References

There are many great “getting started” guides for GitHub. Here are a few we recommend:

The Federal government also provides some relevant information:

See also: