Git Ignore
The .gitignore file is useful for things that should not be included in Git.
# - Comments
/ - Directories, the first / is the root of the repo.
Example
This ignores the file itself, and the directory /book which is the build artifacts when mdbook is run.
ariadne@tesseract:~/git/network-notes$ cat .gitignore
.gitignore
/book