As stated in numerous posts like this you could extend git by placing a program/script in your PATH. I get it working if I place my script in for example /usr/local/bin/. But I what to add commands without being root, but if if put it in ~/bin/ it will not be found.
~/bin/ is in my PATH since its added in my .bashrc like this:
export PATH="${PATH}:~/bin"
I got other stuff as well in my ~/bin/ that I use regularly so the PATH-thing is working for other things!
Is there something I'm missing or doing wrong here?