git prune remote refs code example
Example 1: git config pull with prune
git config remote.origin.prune true
Example 2: git prune doesnt work
git remote prune origin
git config remote.origin.prune true
git remote prune origin