Error:
.git/hooks/post-checkout: line 9: ./node_modules/.bin/post-checkout: No such file or directory
This happens when you jump between installing different versions of pre-git
... the file .git/hooks/post-checkout
gets left behind as an artifact placed by one of the installs
just delete/remove it and move on with life.