The latest Ubuntu release has a new package manager called git.
This one has the ability to download and install repositories directly from the Ubuntu site, and there’s a built-in way to install them: sudo apt-get install git.
The new git package has a few nice features: sudo git init will create a git repository, and the repository will then be available to git users when they’re on a computer that can download and run git commands.
The next time you want to run git init, you’ll just need to run sudo git add-apt-repository, git init –sync , and then git checkout -b git.
You can even skip the checkout step and use the git init command directly from your favorite text editor.
This feature was not present in the Ubuntu 12.04 release, but the Ubuntu 16 and Ubuntu 17 releases still have it.
It’s worth mentioning that git’s ability to be installed directly from a computer is not perfect, as it requires sudo to be running when installing a new repository.
You may need to set the sudoers file to point to a specific user account.
git has been around for a while, and many distributions have already made it a standard package manager, and Ubuntu has done the same with git.
If you want git installed on your machine, you can check the Ubuntu repository list by running git list –all.
You should see something like this: 2a3f8e4a6b0c0e097f7b1f9b7d9b4f2e7c5fd9b2a4f1e1a9f9a1b0a0e1b1a092c6a8e0d0e2a0a2b1e7b9c8c3f7c0a3b5c2e2f0f9e6e8fc3d5f2c0d6c4a0d8e1c1d4e0f5e9e1e2b2e0b3e4e9fdf2d4d2e3e3f5f5b3f2f2d3f6c3a4a4b1b3b7b8b5b8c4b8e5a5a8c5b5a9b9b8d5a3c5c3d1c3e1d5e1f5a1a2c3c3de1d7d2f3e6d9e2c9d2c7e5d2d1d8f1d9d9c9f8c2b6b7a8d2b9d3c9b5d4c6b4c7d3d9dc1e5c5d6e5e6c5f4c2d9ed2e5cd1f1df2e6dbf9c5df6f2b5df9c2cfd5d5da5d7cdc7a5bca5aad2a5dba3c4e8d9eb7efa5cdfb9fefbafc6fba6a9df8a5ba9b1cd5b2dcd5bd9bcc6cbbd5cd4c4d9db9fca7c9df9fba9a9cd1a4caa5ca7d7c2ccd6caa9e5cf3d2a2a6cd2c1c2df2c5a4d4b4a5e4eb7d5eb9f2a3dc1a5f8a7b2bca6fbe6bc8a6ca7df5aefa9d0a4bd9a7a9dc9a8a9ef9d8a99eba9fc9ebb9dfca1e9fc1e4dbcaa4c9eb9dca1eb6a6cdd1ebfca5ca3b8dfc3dfca8aafb3c2fca9fcdc3cd3cd4cb8c9cfc9e4ca9ca2cbd3cd9bcebcd8d8cfca9d1cdca8cd9cdbca3d7cebce2cdea9cb1cd2ca8bcfdca9cdfcd9ca7dbca9dcca3dbc8dcdc