If you ever want to git push or git pull or etc. from the cluster, you used to just have to give them your password. For some reason, they decided to make the process more complicated by creating these authentication tokens that are randomly generated and impossible to remember. You'll have to generate your own personal access token and cache it to make sure that you don't have to input the token every time
Largely following instructions from this link
- Go to https://github.com/settings/tokens
- In the top right, click
Generate new tokenand click theGenerate new token (Classic)option - Here, we'll make the token
- You'll need to specify an expiration date for the token, make it whatever you want. Once the token expires, you'll have to do all of this again :(
- You are also recquired to add a note
- You then need to give it specific permissions. The most basic ones are
repo,read:org(underadmin:org), andworkflowfor basic github operations. Click those boxes and any other specific permissions you may need
This is what my settings look like:

- Click
generate tokenwhen you're done - You'll be taken to a page with the newly generated token. Copy it to your clipboard
- Log into midway/beagle3
- Install
Github CLI, would recommend doing this through anaconda.conda install gh --channel conda-forge
- Enter
gh auth logininto the command prompt and follow instructions- You'll get a list of different options
- Account --> GitHub.com
- Protocol --> HTTPS
- Authentication --> Paste an authentication token
- Paste the token
git pushandgit pullto your heart's content