I have an AWS account. I created a repository in us-east-1 region. When I try to access it from my Mac's terminal I get an error fatal: repository 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/demo/' not found
. I was able to access this repository using SourceTree GIT client.
I create another repository in California region and I was able to access that repository from the terminal itself.
Why my Mac's terminal can't find repositories in a particular AWS region?