how to commit code to a branch in git code example Example: how to commit a branch in git git commit -m "added my github name"