Command: git remote prune origin
Usage: When git branch -a
shows a lot of old remote branches in your local repo that were already deleted from the remote, remove them with this command.
Command: git submodule update --init --recursive
Usage: Use this command when you first clone a repository that uses submodules and you need to fetch all the associated submodule repositories.