github command clear local branch already merged remote code example
Example 1: git clean local remote branch
git fetch origin --prune
Example 2: git clear remote branch
git remote prune origin
git fetch origin --prune
git remote prune origin