git config --global http.proxy http://proxy5b.openu.ac.il:80
git config --global https.proxy https://proxy5b.openu.ac.il:80
Log on to github with your browser and follow this instructions:
*managing-your-personal-access-tokens
Several alternatives:
git config --global credential.helper store
git config --global credential.helper manager-core
echo "machine github.com login your_username password your_token_here" > ~/.netrc
chmod 600 ~/.netrc
For better security, set up SSH authentication with GitHub instead of using a token