Chapter 9 Git
Git is an open source version control system, enabling minimum-effort documentation of changes over time. It can be downloaded and installed from https://git-scm.com/. A collection of directories and files that is kept track of by git is called a repository, or repo for short.
9.1 Preventing files from syncing
You will usually not want to synchronize all files in a directory: projects may contain files including personal data (e.g. raw data) or secrets (e.g. passwords). Git allows you to specify the files to ignore in a file called “
.gitignore”. Each line in the gitignore file specified a pattern, and all directories and files matching the pattern are ignored. Details are described in the relevant page of the Git manual.