making it work for git pushes as well