<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are asking about.>
Git workflow 6.4
<Below this line, describe in what way does your code behave incorrectly? Include ALL error messages.>
I do not understand why I cannot add biology.txt, why it does not work.
<Below this line, add a screenshot of your whole web browser so that we can see what you see.>
$ git add biology.txt
fatal: Not a git repository (or any of the parent directories): .git
what is the location? I have just tried opening biology.txt from science quizzes instead of my quizzes and I am still wrong. I also tried with git checkout master but I have the same message of error.
Just as in real life you can only be at one job at a time, you can only work on a file (in git) if you are in the same location as the file. Think of each folder as a room & cd is a doorway. To go from room to room you say “cd room-x” (minus the quotes).
Branches work the like folders too. You have to be “in” or on the branch to make work it or make changes to it. You use the command: “git branch branch-I-want-to-go-to” (minus the quotes) to move from branch to branch to branch.