git-browse(1) - View the web page for the current repository

1. git-browse(1)
2. Git Extras
3. git-browse(1)

## NAME

`git-browse` - View the web page for the current repository

## 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 LINE-1 to LINE-2) of the file you wish to browse to.

## 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>

2. March 2026
3. git-browse(1)