# Initial config
git config --global user.email sam@example.com
# Local repository
git init
# Remote repository
git clone username@/host:/path/to/repository
# Add all files
git add *
# Remove files from local repository
git rm --cached *
# Commit changes to local repository
git commit -m "Commit message"
# Push changes to master branch
git push origin master
# Get status
git status