# git fork > Fork a GitHub repo. Like `git clone` but forks first. > Part of `git-extras`. > More information: . - Fork and clone a GitHub repository by its URL: `git fork {{https://github.com/tldr-pages/tldr}}` - Fork and clone a GitHub repository by its slug: `git fork {{tldr-pages/tldr}}`