Tracking a remote branch [source]: git branch –track feature1 origin/master git remote add origin /remote/host/path Init blank git repository on host side: git init –bare Amend previous commit with new files [source]: git add [files] git commit –amend –C HEAD