1. Create an empty directory (you can name it my-repo)\ `mkdir my-repo` 2. cd into it\ `cd my-repo` 3. Initialize the directory\ `git init` 4. Make a commit (an empty one is fine)\ `git commit --allow-empty -m "first commit"` 5. Copy the path to the directory