Contributor-First PR Merge
HKUDS/OpenHarness
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
Teaches Git/GitHub concepts and executes git commands. An agent skill from hcp4715/R4Psy.
The automated check flagged lines worth reading first. See the safety section below.
$ npx skills add hcp4715/R4Psy --skill git-version-control -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install hcp4715/R4Psy git-version-control --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/hcp4715/R4Psy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/git-version-control .claude/skills/git-version-control && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "git-version-control" agent skill from https://github.com/hcp4715/R4Psy/tree/main/skills/git-version-control into .claude/skills/git-version-control/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "git-version-control", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/hcp4715/R4Psy/tree/main/skills/git-version-controlType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add hcp4715/R4Psy --skill git-version-control -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install hcp4715/R4Psy git-version-control --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hcp4715/R4Psy.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/git-version-control .agents/skills/git-version-control && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "git-version-control" agent skill from https://github.com/hcp4715/R4Psy/tree/main/skills/git-version-control into .agents/skills/git-version-control/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "git-version-control", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add hcp4715/R4Psy --skill git-version-control -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install hcp4715/R4Psy git-version-control --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hcp4715/R4Psy.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/git-version-control .cursor/skills/git-version-control && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "git-version-control" agent skill from https://github.com/hcp4715/R4Psy/tree/main/skills/git-version-control into .cursor/skills/git-version-control/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "git-version-control", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/hcp4715/R4Psy.git --path skills/git-version-control--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add hcp4715/R4Psy --skill git-version-control -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install hcp4715/R4Psy git-version-control --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hcp4715/R4Psy.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/git-version-control .gemini/skills/git-version-control && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "git-version-control" agent skill from https://github.com/hcp4715/R4Psy/tree/main/skills/git-version-control into .gemini/skills/git-version-control/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "git-version-control", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install hcp4715/R4Psy git-version-controlInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add hcp4715/R4Psy --skill git-version-control -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/hcp4715/R4Psy.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/git-version-control .github/skills/git-version-control && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "git-version-control" agent skill from https://github.com/hcp4715/R4Psy/tree/main/skills/git-version-control into .github/skills/git-version-control/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "git-version-control", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add hcp4715/R4Psy --skill git-version-control -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install hcp4715/R4Psy git-version-control --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hcp4715/R4Psy.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/git-version-control .opencode/skills/git-version-control && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "git-version-control" agent skill from https://github.com/hcp4715/R4Psy/tree/main/skills/git-version-control into .opencode/skills/git-version-control/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "git-version-control", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
git-version-controlTeaches Git/GitHub concepts and executes git commands. An agent skill from hcp4715/R4Psy.
Git Version Control is an agent skill from hcp4715/R4Psy. Teaches Git/GitHub concepts and executes git commands. Invoke when users ask about version control, need help with git operations, or want to learn R4Psy Chapter 3.2 content.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `STUDENT_GUIDE.md`).
It sits in Development, covering Git workflow. It works with Git and GitHub. The repository describes itself as: R for psychological research (NNU grad course). The licence is CC-BY-4.0.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e94f744. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitghFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
git-scm.comgithub.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Git Version Control loads about 1.9k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 617 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found patterns that need a careful read before installing.
ssh-add ~/.ssh/id_ed25519# macOS: pbcopy < ~/.ssh/id_ed25519.pubAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from hcp4715/R4Psy at commit e94f744, republished under its CC-BY-4.0 licence (© hcp4715). 617 words, ~1,936 tokens.
.claude/skills/git-version-control/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.This skill helps users understand and use Git and GitHub based on the R4Psy course materials (Chapter 3.2). It combines educational content from slides/chapter_3.Rmd with practical command execution capabilities.
Two Operation Modes:
# Initialize a new repository
git init
# Clone an existing repository
git clone <repository-url>
# Configure user identity
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
# Check configuration
git config --list# Check repository status
git status
# Stage changes
git add <file> # Add specific file
git add . # Add all changes
# Commit changes
git commit -m "Commit message"
# View commit history
git log
git log --oneline # Compact view
git log --graph # Visual graph# List branches
git branch
# Create new branch
git branch <branch-name>
# Switch branch
git checkout <branch-name>
git switch <branch-name> # Modern syntax
# Create and switch
git checkout -b <branch-name>
git switch -c <branch-name> # Modern syntax
# Merge branch
git merge <branch-name>
# Delete branch
git branch -d <branch-name> # Safe delete
git branch -D <branch-name> # Force delete# Add remote repository
git remote add origin <repository-url>
# View remotes
git remote -v
# Push to remote
git push origin <branch-name>
git push -u origin <branch-name> # Set upstream
# Pull from remote
git pull origin <branch-name>
# Fetch updates
git fetch origin
# Push all branches
git push --all origin# Unstage files
git reset HEAD <file>
git restore --staged <file> # Modern syntax
# Discard local changes
git checkout -- <file>
git restore <file> # Modern syntax
# Amend last commit
git commit --amend
# Reset to specific commit
git reset --soft HEAD~1 # Keep changes staged
git reset --mixed HEAD~1 # Keep changes unstaged
git reset --hard HEAD~1 # Discard changes
# Stash changes
git stash
git stash list
git stash pop
git stash drop# Install GitHub CLI (if not installed)
# macOS: brew install gh
# Windows: winget install --id GitHub.cli
# Authenticate
gh auth login
# Create repository
gh repo create <repo-name>
# Clone repository
gh repo clone <owner>/<repo>
# Create pull request
gh pr create
# View issues
gh issue list# Generate SSH key
ssh-keygen -t ed25519 -C "your.email@example.com"
# Add to SSH agent
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
# Copy public key to clipboard
# macOS: pbcopy < ~/.ssh/id_ed25519.pub
# Add to GitHub: Settings → SSH and GPG keys → New SSH keyMerge Conflicts:
# Identify conflicted files
git status
# Edit files to resolve conflicts (look for <<<<<<< HEAD)
# Then stage and commit
git add <resolved-files>
git commit -m "Resolve merge conflict"Permission Denied:
Detached HEAD State:
# Create new branch from detached state
git checkout -b <new-branch-name>
# Or return to previous branch
git checkout <branch-name>git status frequently to show current stategit --version and test connectiongit clone <url>git pullgit checkout -b feature-namegit push -u origin feature-name⚠️ Never:
git push --force without explicit user confirmationgit reset --hard without checking for uncommitted changes✅ Always:
git status before and after operations© hcp4715, CC-BY-4.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/git-version-control of hcp4715/R4Psy.
Open the folder on GitHubat commit e94f744
Git Version Control next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Git Version Control this skillhcp4715/R4Psy | 112 | — | ~1.9k | Automated safety check: Warn | CC-BY-4.0 | |
| Contributor-First PR MergeHKUDS/OpenHarness | 16k | 1 repos | ~847 | Automated safety check: Pass | MIT | |
| Create Pull Requestcline/cline | 70k | 1 repos | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Release Bumpjamiepine/voicebox | 57k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Creating Description For Gh PRredis/jedis | 12k | — | ~838 | Automated safety check: Pass | MIT | |
| Create Pull Request with Work Item IDmakeplane/plane | 61k | — | ~824 | Automated safety check: Pass | AGPL-3.0 |
HKUDS/OpenHarness
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
cline/cline
Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.
jamiepine/voicebox
Ends a release cycle by moving the Unreleased changelog notes under a dated version heading, bumping version files with bumpversion and tagging the commit.
redis/jedis
Generate a clear, concise GitHub PR title and description from the diff between two local git branches, and save it to prDescription.md in the repo root.
makeplane/plane
Opens a pull request for the current branch using the repo's template, a work item ID in the title and a description filled in from the actual diff.
remix-run/react-router
Packages finished React Router work into a draft pull request: branch, commit, push, a written PR body and the right GitHub labels.
Categories
Teaches Git/GitHub concepts and executes git commands. An agent skill from hcp4715/R4Psy. Git Version Control is an agent skill from hcp4715/R4Psy. Teaches Git/GitHub concepts and executes git commands.
Git Version Control fits situations like: S ask about version control; need help with git operations; want to learn R4Psy Chapter 3.2 content.
Run `npx skills add hcp4715/R4Psy --skill git-version-control -a claude-code`. Or copy the skill folder (skills/git-version-control in hcp4715/R4Psy) into .claude/skills/git-version-control in your project. Claude Code loads it when a task matches its description.
Run `npx skills add hcp4715/R4Psy --skill git-version-control -a codex`. Or copy the skill folder (skills/git-version-control in hcp4715/R4Psy) into .agents/skills/git-version-control in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hcp4715/R4Psy --skill git-version-control -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/git-version-control, .gemini/skills/git-version-control, .github/skills/git-version-control and .opencode/skills/git-version-control in your project.
Going by SKILL.md and its folder, Git Version Control needs the command-line tools its instructions call (git and gh).
SKILL.md names 2 domains. As links in the text: git-scm.com and github.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md flagged 2 warning(s): mentions a credentials file (ssh keys, cloud or package-manager tokens). Read the flagged lines before installing; the check is not a guarantee either way.
Git Version Control is published under the CC-BY-4.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Git Version Control: Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars), Create Pull Request (cline/cline, 70k stars), Release Bump (jamiepine/voicebox, 57k stars) and Creating Description For Gh PR (redis/jedis, 12k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
hcp4715 (a GitHub user) maintains it in hcp4715/R4Psy, which has 112 GitHub stars. The repository was last updated on July 28, 2026.
Source: hcp4715/R4Psy on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.