If you want to install git
on Ubuntu Core you'll need to install it using apt
. You can install classic
in order to get it.
snap install classic --edge --devmode
sudo classic
sudo apt update
sudo apt install git
Unfortunately, with this solutionssolution, anytime you want to run git
you will need to first run sudo classic