IFC-1984: Update git sync to consider new configuration
This PR updates the git sync to check the new configuration `sync_branch_names` and if it is present
it matches the branch name with the names in the config skips adding it as a remote branch if it does not match.