Caching the GitHub access token permanently after supplying it once (e.g. after entering it for the first time after a git clone or git commit):

git config --global credential.helper store