I do same task often of committing and pushing changes to remote branch. Being lazy sometimes, I needed to put set of git commands to automatically perform these steps:
Try this one !!
cd c://TESTS/path set HOME=%USERPROFILE% GIT COMMAND GOES HERE pause