My issue was having a .gitconfig file containing an insteadOf URL directive. After commenting out the lines in the gitconfig, Xcode 13 accepts the GitHub personal access token.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: