Azure pipeline does't allow to git push throwing 'GenericContribute' permission is needed
You need to grant the permissions to Project Collection Build Service (account name):
It should caused by your account do not have the contribute permission for this repository.
Go Project setting --> Repositories --> click Repos you want to operate -->set repository permissions accordingly.