Install and configure git

Github authentication

  • Creating a personal access token: From your GitHub account, go to Settings → Developer Settings → Personal Access Token → Tokens (classic) → Generate New Token (Give your password) → Fillup the form → click Generate token → Copy the generated Token
  • Windows OS: Follow this guide
  • Mac OS: Follow this guide
  • Linux OS: Open ~/.gitconfig → Add the following lines to the file:
[credential]
    helper = store
  • Test: Open Git Bash → Change directory cd to a any git repo → Run the following command: $ git ls-remote

Top

2. semester forår 2025