install git ubuntu
$ sudo apt install git
Source: git-scm.com
How to install Git in Ubuntu?
sudo apt-get update -y sudo apt-get install git -y git version
Source: install-packages.github.io
install git ubuntu
sudo apt install git-all
git in ubuntu
## set your git name and email git config --global user.name "your username" git config --global user.email "your email" ## then try to clone a repo git clone <git-repo-url> ## after that if you are not loged in then git will ask for username and password ## provide the username and password (use personal access token insted of password) ## If you want to avoid providing a username and password every time, you can just store that username and password. git config --global credential.helper store ## you can check the configaretion with this command nano ~/.gitconfig ## The username and password will be saved in the file ~/.git-credentials. in the format nano ~/.git-credentials ## You can also opt for cache to store the username and password instead of disk. git config --global credential.helper cache
how to install git in ubuntu ?
sudo add-apt-repository ppa:git-core/ppa && sudo apt update && sudo apt install git