After long analysis , finally framed the code to interact with Azure devops to get repos, branches, & later upload a file into branches using Azure devops python Rest AP