Use `git config --add` to add to the list.
This allows to add/remove without copying the entire list.
origin="`git config --get --path remote.origin.url`" || :
web="`git config --get --path remote.web.url`" || :
remotes="`git config --get update-remotes.remotes`" || :
-branches="`git config --get update-remotes.branches`" || :
-files="`git config --get update-remotes.files`" || :
+branches="`git config --get-all update-remotes.branches`" || :
+files="`git config --get-all update-remotes.files`" || :
if [ -n "$origin" ]; then
if [ -n "$current" ]; then