You can make this happen with less typing. First, change the way your push works:
git config --[global|local]global push.default current This will infer the origin my_branch part, thus you can do:
git push -u Which will both create the remote branch with the same name and track it.