Once you have installed the extension, you can also generate links to various elements: commit, reference, branch, tag, tree.
{{ git_url(commit) }}{{ git_url(branch) }}{{ git_url(tag) }}{{ git_url(branch, {path: '/src'}) }}
{# or #}
{{ git_url(branch, {path: ''}) }}