0%

Install Git Server on Windows

Download “Git 2.8.0 for Windows” from git-scm site
Download Bitvise SSH Server (WinSSHD) 6.45 from bitvise

Install Git for windows and setup login account

install git

Create Git Repos Root Folder

1
D:/Demo/GitRepos

Create test folder and open bash command

1
C:/User/vdevp/GitRepos>md test

git-bash-here

1
2
vdevp@vdevp-PC MINGW64 /c/User/vdevp/GitRepos/test
$ git init --bare

Git will create many initialize files

git-init

Go to your client PC and create test folder

1
D:/Demo/test

open Git bash command

1
2
3
4
5
6
7
$ git clone ssh://vdevp@192.168.2.3/~/GitRepos/test
Cloning into 'test'...
vdevp@192.168.2.3's password:
'git-upload-pack' is not recognized as an internal or external command, operable program or batch file.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

If you see the error message, please go to Server add system PATH environment

1
C:\Program Files (x86)\Git\bin;C:\Program Files\Git\mingw64\libexec\git-core