fix git commands in CI/CD pipeline