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

[Source](https://developer.ubuntu.com/core/get-started/developer-setup#installing-and-using-developer-tools)