INVALID BRANCH. Could not checkout branch 'XXXXXXXX' on Git Repository.

When working with Copado you might receive an email with the error below:

"INVALID BRANCH. Could not checkout branch 'XXXXXXXX' on Git Repository. Bear in mind that branch names are case sensitive. Make sure that branches are created in the Repository before refer them in Copado."

That error means that Copado was not able to find that branch in Git. Please check that the name of the branch in Git match the name of the branch used in the Git Snapshot, and Deployment Flow Steps. Please note that the names are case sensitive.

For example, if the branch name in your Git Snapshot is 'Dev-Int' and the name in Git for the branch is 'Dev-int' you will receive the error above and the commit will fail.

If the name of the branch contains something like "feature/US-0000123" or "promotion/P00123", please contact support@copa.do

How did we do?