Fixing common mistakes with Git