VS Code terminal in Ubuntu showing branch name

ca flag

I am new to linux/Ubutu.

I downloaded the VS Code and i extensively use VS Code terminal in windows because that contain me into one window with out me needing to go to external shell or bash.

In VS code terminal, using git bash as terminal, in windows i used to be able to see which branch i am on. But in ubuntu, i am not able to.

Can anyone please help me how i can have something like this in VS Code terminal in ubuntu showing current branch name.

enter image description here

muru avatar
us flag
Does this answer your question? [How do I show the git branch with colours in Bash prompt?](
pravin poudel avatar
ca flag
maybe but since i am new to ubuntu, i was thinking if there is easy solution like vs code extension
I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.