vis-git-status is a vis plugin that wil display git information about the current file in the status bar (branch, has branch changed, how many commits ahead/behind).
Clone the repo to your vis plugins directory (~/.config/vis/plugins) and add
this to your visrc.lua:
require("plugins/vis-git-status")