import os

os.system("git add *")
os.system("git commit -m 'first commit'")
os.system("git push origin master")

import os

print "Enter commit message:"
commit = raw_input();

os.system("git add *")
os.system("git commit -m '"+commit+"'")
os.system("git push origin master")

Set up git push script. ;)