The pun is there for sure, but "git" is British slang for an unpleasant or annoying person. I was introduced to it by The Beatles: "and curse Sir Walter Raleigh, he was such a stupid git".
I believe it was Linus himself who quipped (paraphrasing) that he is so arrogant he named two software projects after himself: Linux, and git.