How to remove default GIT or update it? I cant delete or rename current version of git... Even with sudo...

MacBook-Pro-Kiril: $ sudo rm /usr/bin/git
override rwxr-xr-x  root/wheel restricted,compressed for /usr/bin/git?

MacBook-Pro-Kiril: $ sudo mv /usr/bin/git /usr/bin/git-apple
mv: rename /usr/bin/git to /usr/bin/git-apple: Operation not permitted
sudo rm -rf /usr/bin/git wont work for El Capitan due to SIP restriction

simple solution is create alias

alias git='/usr/local/bin/git'