git clone --branch branch-name https://github.com/username/repository.git
Use a shallow clone:
gh repo clone username/repository
For those who prefer a GUI, the community-maintained "shiftkey" fork is the most popular way to use GitHub Desktop on Linux. Method A: Using the Terminal (Recommended) Add the repository to ensure automatic updates: A Beginner's Guide to Installing GitHub Desktop on Ubuntu github download for ubuntu
In this post, we've shown you how to download and install Git on Ubuntu, set up GitHub on your local machine, and clone a repository from GitHub. With these steps, you can start using GitHub on your Ubuntu machine to manage your software development projects. git clone --branch branch-name https://github
By default, git clone downloads the default branch (usually main or master ). To download a different branch: By default, git clone downloads the default branch
Follow the interactive prompts to authenticate via your web browser.