List all local branches with names only git branch List all remote branches with names only git branch -r List all local and remote branches with names only…