At least for git ignore we would need git-extras which can be installed with apt install git-extras
git ignore
apt install git-extras