Git Push Origin
Automatically pushes local code changes to the 'origin' remote repository on Git.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add git-push-origin npx -- -y @trustedskills/git-push-origin
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"git-push-origin": {
"command": "npx",
"args": [
"-y",
"@trustedskills/git-push-origin"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows an AI agent to push local Git changes to a remote repository named "origin". It handles the necessary commands and authentication, simplifying the process of synchronizing code with a central server. The agent can be instructed to push specific branches or all branches based on user input.
When to use it
- After making modifications to files locally and needing to share them with collaborators.
- When deploying updated code to a remote testing environment.
- To back up local changes to a secure, cloud-based repository.
- As part of an automated workflow for continuous integration or deployment.
Key capabilities
- Pushes Git commits to the "origin" remote.
- Supports pushing specific branches by name.
- Handles authentication (assumes existing credentials are configured).
Example prompts
- “Push my changes to origin.”
- “Commit and push the ‘main’ branch to origin.”
- “Please push all local commits to the remote repository named 'origin'."
Tips & gotchas
- This skill assumes that Git is already installed and configured on the system.
- The agent will use existing credentials for authentication; ensure these are set up beforehand.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.