cd [path]
mkdir myproject
cd myproject
git init