I am extremely new to git.
I am using Git CMD.
When I type git clone ....
I am able to clone the repository successfully, but when I type git branch -a
, it doesn't give me a list of all branches available.
What am I doing wrong?
My end goal is to use git cmd
to switch branches.
This is what happens:
c:\users\username\projects>git branch -a
fatal: not a git repository(or ay of the parent directories): .git