

I am using the Git source control in the VS Code. recently I found that if I create the branch like this, topic/CIE/LRAT-333, then I push that in to remote repo, finally in the VS code, choose source control on the left navigation, then click remote, I found that the branch folder became capital, TOPIC/CIE/LRAT-333. but when I check it in the azure repos, it is still "topic" lowercase.
I only this the capital topic here. TOPIC from the element
others are lowercase, topic/CIE/LRAT-333

I found it's in the remote session.
here I attached another screenshot.

so I don't know why it shows capital letter in the source control. it kind of bring us the confusion. could you please help me out?
Version: 1.76.2
Commit: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
Date: 2023-03-14T17:55:54.936Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: 10.2.154.26-electron.0
OS: Windows_NT x64 10.0.14393
Sandboxed: No
if it's lowercase, then it should be lowercase in the remote
Branches are by default organized as files and directories. Some file systems and operating systems are case-insensitive, such as Windows.
Check in your
.git/refs/headsdirectory, if you find aTOPICortopicdirectory (there can only be one).To fix, you need to manually rename the directory (not really recommended), or rename all affected branches to something else, then after there are no more references to topic/TOPIC, rename them back.
Also make sure to update your remote accordingly (Linux generally is case-sensitive and
topic/abcandTOPIC/abcare two completely distinct branches)