I am new to git so sorry if the question is dumb.
I have a project called helloworld a branch called newfeatures which is not origin on github. My goal is to get all the files and folders into the folder in Eclipse directory I have specified we can call it /documents/eclipse/java.
What I did was that I install git then went into the development directory and typed
git init
git clone https://githuburlhere
I now have a folder called helloworld with a bunch of git-files but I don't see any java files from gihub. How can I get the files?
I have also tried
git pull origin newfeatures
But it said
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
.git? Can you see the files in Github?README.mdand.gitwith the latter having a bunch of folders like branches, hooks, info, logs, objects, refs and files like config, description, HEAD, index, packed-refsgit initis for when you want to make a new repo "here" (the current directory).git cloneis for when you want to copy a repo from somewhere else to "here" (a subfolder in the current directory). Pick one or the other, but not both. Note I may have misunderstood the question, and if I did, you likely want one of the top answers to this question.