GIT: How to create a local git repository with existing code base? $ cd /path/to/my/codebase $ git init <1> $ git add . <2>