GitHub has become the gold standard platform for sharing code with everyone, from the person sitting next to you to a developer on the other side of the world. As a team or product grows, so does its need for organizational structure and security. But even if your project or group of collaborators is small, you’ll learn that GitHub’s robust features help you proactively control access to your code.
"But I trust everyone on my team!", you say. "My code is open to the world!", you decry. That’s fantastic! But you still need to understand and be mindful of the most common threat of all: accidental git mistakes. By paying attention to who has access to which code — and what kind of access they have — you can safeguard against the summer intern rewriting history in your master branch, or the CFO inadvertently updating the release tags. I’ve seen it happen, and it’s ugly.