Show informations about remote branches:
git remote show origin
Stop tracking deleted remote branches:
git remote prune origin --dry-run
Find on port (second column is process_id):
sudo lsof -i -P -n | grep {port number}
Kill on port:
sudo kill {process_id}