I have powershell task configured in azure build pipelines to merge changes from dev into master of my github public repo and push changes to master. I am getting
For private projects the azure devops build VM doesn't have permission to clone your submodules. In order to give it permission to clone you can either add your username and password or add a personal access token(PAT) to the url in the gitmodules file in your repo on Azure devops. You need to change the url to https://username:password@dev.azure.com/organization/project/_git/repo or https://PAT@dev.azure.com/organization/project/_git/repo
I recommend using a PAT. You can create a PAT in Azure DevOps just look up how to do it.