Learn Git
Learn Git Branching
Removing sensitive data from a repository
BFG Repo-Cleaner
This is how I git