git init bare инициализируйте пустой репозиторий GIT

git init --bare <directory>
Michael Futral