You’re taking a CS course at UBC and have just finished a chunk of work that you want to commit. When you try to git push or git pull, you’re asked to type in your CS department’s username and password: This guide will show you how to use git config to cache your authentication info. Saving credentials Git has this nice feature called credentials that lets you store authentication credentials for git servers (like stash.ugrad.cs.ubc.ca for UBC).