Git Commands
Working with local repositories git init This command turns a directory into an empty Git repository. This is the first step in creating a repository. After running git init, adding and committing files/directories is possible. Usage: # change directory to codebase $ cd /file/path/to/code # make directory a git repository $ git init In Practice: # change directory to codebase $ cd /Users/computer-name/Documents/website # make directory a git repository $ git init Initialized empty Git repository in /Users/computer-name/Documents/website/....