-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
None
-
Affects Version/s: 3.4.27
-
Component/s: Git
-
None
-
Minor
When attempting to clone a repository hosted on a GitHub Enterprise instance using SourceTree (HTTPS), the repository URL is not recognized as a valid source path / URL.
SourceTree reports that the URL is invalid, and the clone operation fails. In the Details view, the underlying Git command (git ls-remote) fails due to an HTTP redirect to an authentication (SAML/MFA) endpoint.
This redirect seems to be handled correctly by Git CLI, but not by SourceTree.
Steps to Reproduce
- Open SourceTree
- Select Clone
- Paste a GitHub Enterprise repository URL (HTTPS)
- Attempt to clone the repository
Actual Result
- SourceTree reports that the URL is not a valid source path / URL
- Clone operation fails
- Details show an error similar to:
{{fatal: unable to update url base from redirection
asked for: .../info/refs?service=git-upload-pack
redirect: https://idp.cloud.vwgroup.com/auth/realms/...}}
Expected Result
- SourceTree should be able to handle the authentication redirect (as Git CLI does)
- Repository should clone successfully after authentication
Additional Information / Observations
- The same repository URL works correctly when cloning via Git Bash (CLI)
- Authentication and permissions are valid
- Issue occurs only in SourceTree UI
- Multiple URL formats were tested, with the same result
- Screenshots attached showing the error and full Git command output
Environment
- OS: Windows
- SourceTree version: 3.4.27
- Git hosting: GitHub Enterprise
- Protocol: HTTPS