perform git push if git commit or branch is ahead of remote origin

On branch master
Changes to be committed:

	modified:   lib/gitkm.lib
test commit
test commit
test commit again
edit if statement to perform git commit

On branch master
Changes to be committed:

	modified:   lib/gitkm.lib
edit if statement to perform git commit

 Please enter the commit message for your changes. Lines starting
On branch master
Changes to be committed:

	modified:   lib/gitkm.lib
update gitkm.lib