Checks that staging has no modified or untracked files before allowing a push