git-open
agent-ready non-interactive
Type `git open` to open the GitHub page or website for a repository in your browser.
How to install git-open
brew install bats git-open use case
Open the remote repository page (GitHub, GitLab, Bitbucket) for the current branch, commit, or issue in a browser or print the URL.
When to use git-open
- When you need to quickly navigate to the GitHub/GitLab/Bitbucket page for the current repository or branch
- When you want to open the current commit in the browser to review changes
- When you need to open an issue associated with a branch named like 'issues/#123'
When not to use git-open
- When you need to open a URL that is not related to the git remote (e.g., arbitrary web pages)
- When you are not inside a git repository or the remote is misconfigured
git-open features
- · Open repository page for current branch
- · Open specific remote and branch
- · Open current commit page
- · Print URL without opening a browser (--print flag)
Want your agent to find this automatically?
Add the MCP server to your agent config and it will discover tools like git-open on its own.
Set up MCP →