github authentication timeout linux

C++
# Default to 900 secs or 15 minutes
git config --global credential.helper cache
Source

Also in C++: