How to remember your username before you push on terminal git config --global credential.https://github.com.username <your_username> Check history git config --global --edit Delete cache every an hour git config --global credential.helper 'cache --timeout=3600'