Master / slave are catch all terms versus more precise ones that represent the exact relationship of two systems.
Not the same thing.
And a master does not even need a slave (like in the github case) - so git's master is not even like the master (who had slaves) that people are offended about.