Good morning, I'm learning to use git and I need to check out a branch.
I made the clone in git:
$ git clone https://[email protected]/teste/teste-site.git
Cloning into 'teste-site'...
remote: Counting objects: 10818, done.
remote: Compressing objects: 100% (7681/7681), done.
remote: Total 10818 (delta 2982), reused 10588 (delta 2849)
Receiving objects: 100% (10818/10818), 420.92 MiB | 3.22 MiB/s, done.
Resolving deltas: 100% (2982/2982), done.
Checking connectivity... done.
Checking out files: 100% (11415/11415), done.
And after that I did the command:
$ git checkout master teste-site.git
fatal: Not a git repository (or any of the parent directories): .git
But this error returns me
fatal: Not a git repository (or any of the parent directories): .git
How do I solve it?