Git - Start a repository on your own server
cd /mydata/windows/my_git git init —bare example.git
Clone repo to laptop
cd ~/src
git clone user@server:/mydata/windows/my_git/example.git example
Push local repo (cloned from somewhere) to my private server
git remote add home [email protected]:/mydata/windows/my_git/example.git
git push home