(All done in poshgit on Windows 8):
git init --bare test-repo.git
cd test-repo.git
(Folder is created with git-ish files and folders inside
By default there will be no branches listed and pops up only after some file is placed. You don't have to worry much about it. Just run all your commands like creating folder structures, adding/deleting files, commiting files, pushing it to server or creating branches. It works seamlessly without any issue.
https://git-scm.com/docs