check commit and push