My personal collection of How To Git ;-)
git remote -v
# Create local git repository
echo "# keycloak_min" >> README.md
git init
git add README.md
git commit -m "first commit"
# Create remote repository
curl -u 'stefanjacobs' https://api.github.com/user/repos -d '{"name":"keycloak_min"}'
# Link local repository to remote repository
git remote add origin git@github.com:stefanjacobs/keycloak_min.git
git push -u origin master
git remote add github git@github.com:stefanjacobs/<reponame>.git
git push github master
git push -u github master