One common source of confusion among Git beginners is the misconception that adding a file to the .gitignore file will erase it from the repository’s history.
Ignoring doesn’t remove a file
Push and delete remote branches
Pushing and deleting remote branches are common actions that many Git users need to perform regularly. However, some users may forget how to do so or simply not know the process.