Update git path (remvoe trailing slash)