chmod +x install.sh apt-get install git-core git config --global user.email "you@example.com" git config --global user.name "Your Name" mkdir my_book_repo.git cd my_book_repo.git git init --bare git init git remote add origin git@github.com:dmpop/my_book_repo.git git remote add origin ssh://user@remotehost/path/to/my_book_repo git add -A git commit -m "Initial commit" git push origin master function gitc { git add -A HOSTNAME=$(hostname) git commit -m "$HOSTNAME" git push origin master }