I have a folder structure thus on my machine:
c:/officialGit/
    .git/
The output of running git config --list in c:/officialGit/ command line is:
user.email=official_email_id@gmail.com
user.name=official_user_name
remote.origin.url=https://github.com/official_user_name/officialGit.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
Within the above folder, I created a subfolder
c:/officialGit/forPersonalPractice/
The idea of this subfolder is that I want to practice git commands using a different email id and repository (local and remote) that does not in any way corrupt/interfere with the officialGit repository (local and remote) above and vice versa.
Following answer specified here, I navigated to subfolder /forPersonalPractice/ and issued git init
Then, I issued:
git config user.name Personal_Practice_UserName
git config user.email Personal_Practice@email.com
From the same subfolder, to verify if things are correctly set up, I issued git config --list. I obtain:
user.email=official_email_id@gmail.com
user.name=official_user_name
...
user.name=Personal_Practice_UserName
user.email=Personal_Practice@email.com
That is, user.name and user.email seem to have multiple entries.
I created a private online repository whose link is https://github.com/Personal_Practice_UserName/PersonalProject.git
When I now issue git clone https://github.com/Personal_Practice_UserName/PersonalProject.git from the /forPersonalPractice/ subfolder, I obtain
Cloning into 'PersonalProject'...
remote: Repository not found.
fatal: repository 'https://github.com/Personal_Practice_UserName/PersonalProject.git/' not found
Is there a missing step or should I follow a completely different setup on this single machine where the .git/ folder of /officialGit/ and /officialGit/forPersonalPractice/ are not hierarchically nested maybe?
ETA: Running git config user.name in c:/officialGit/ returns official_user_name. Running that in c:/officialGit/forPersonalPractice/ returns Personal_Practice_UserName. Running git config credential.helper in both folders returns manager-core.
