GIT CONFUSION

I need help using GitHub! So we were told to work in pairs, and each pair has a leader and a team member.
The instructions were as follows:

git config --global user.name "your_name"
git config --global user.email “your_email”
git clone https://github.com/team_leader_username/repo_name.git


All team members, EXCEPT the team leader, should apply the following:

1. Change directory to the git_repo
cd repo_name
2. Type ls you should see the readme file.
3. Now create a branch with your username and check it out.
git branch username (THIS LINE)
git checkout username (AND THIS LINE)

when I, a team member, came to do the last 2 steps (branch and checkout username), it would say "fatal: Not a valid object name: 'master'")

What should I do?? Or what am I doing wrong?
Last edited on
closed account (z05DSL3A)
Try using git status to check the status of the repo?
> "fatal: Not a valid object name: 'master'")
¿is your name «master»?

paste your command verbatim
Topic archived. No new replies allowed.