AD GitHub Usage Guide

Initial Setup

This document provides a step-by-step guide to start using GitHub in the Fermi-AD organization.

1. Joining Fermi-AD

2. Secure your account

3. Verify GitHub credentials and configurations.

  1. Check credentials: Verify that that you have valid GitHub credentials including your username, SSO and 2FA.
  2. Set your Git identity in your development environment :
git config --global user.name "Your Name"
git config --global user.email "your-email@fnal.gov"

4. Network configuration - optional:

Host github.com
    ProxyJump <bastion-host>

To request access to the bastion systems, please consult your line manager and have them complete a access request form on your behalf.

5. Repository Setup

Troubleshooting

Here’s a common problem and solution for VSCode users on Windows when enabling SSO:

Issue:

remote: The `fermi-ad' organization has enabled or enforced SAML SSO. To access
remote: this repository, you must re-authorize the OAuth Application `Git Credential Manager`.
fatal: unable to access '<repo URL>': The requested URL returned error: 403

Solution: Follow the instructions provided in this Stack Overflow thread instructions.