If you work with a remote repository via https, and become frustrated about the frequent requests for authentications, see chapter 10 of Happy Git With R about caching of credentials. (An alternative is to use ssh and upload your public ssh key to git, but that goes beyond what we can cover in the course.)