---
name: "git-browse"
section: "1"
platform: "linux"
package: "git-extras"
version: "7.3.0-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/git-browse"
---

# git-browse(1)

## NAME

**git-browse** -

## SYNOPSIS

**git-browse** \[remote\_name\] \[file\_name\] \[line\_1\] \[line\_2\]

## DESCRIPTION

Opens the current git repository website in your default web browser.

## OPTIONS

\<remote\_name\>

The name of the remote you wish to browse to. Defaults to the first remote if not specified.

\<file\_name\>

The name of the file you wish to browse to.

\<line\_1\>

The line number of the file you wish to browse to.

\<line\_2\>

The line range (from

## EXAMPLES

$ git browse

$ git browse upstream

$ git browse upstream bin/git-browse

$ git browse upstream bin/git-browse 42

$ git browse upstream bin/git-browse 1 42

## AUTHOR

Written by Mark Pitman \<*https://github.com/mapitman*\>

## REPORTING BUGS

\<*https://github.com/tj/git-extras/issues*\>

## SEE ALSO

\<*https://github.com/tj/git-extras*\>
