Git Setup
Disclaimer : Here I am discussing the steps which you can use while creating your personal Github respositories, don't suggest to follow the same steps for your official work.
Step1 : Register for your account on GitHub.
Step2 : Create a new repository by clicking on "New" button on top left of your home page like shown -
Step1 : Register for your account on GitHub.
Step2 : Create a new repository by clicking on "New" button on top left of your home page like shown -

Step3 : Give the suitable name for your new repository. And good thing is that you can also make your new repository as
'Private' or 'Public'
Now you have your repository ready to hold your data, SIMPLE.
You can access this repository from your favorite IDE, but GitHub is changing its access policy,
"Basic authentication using a password to Git is deprecated and will soon no longer work.", you can it in the alert mail you
receive when you try to access your repository using Basic Authentication via IDE.
So what to do, nothing follow the link given in that mail or follow below steps to have your PAT-
Step1 : Go to your profile on the top right corner of the home page -> Settings
Step2 : Then click on the Developer settings from the left side menu as shown below -
'Private' or 'Public'
Now you have your repository ready to hold your data, SIMPLE.
You can access this repository from your favorite IDE, but GitHub is changing its access policy,
"Basic authentication using a password to Git is deprecated and will soon no longer work.", you can it in the alert mail you
receive when you try to access your repository using Basic Authentication via IDE.
So what to do, nothing follow the link given in that mail or follow below steps to have your PAT-
Step1 : Go to your profile on the top right corner of the home page -> Settings
Step2 : Then click on the Developer settings from the left side menu as shown below -
Step3 : Then click on the option marked below on the next page from the left menu -
Step4 : Click on Generate new token as shown below -
Step5 : Give the required name for the Token & provide the required access like I have given full control to my token like
shown below -
shown below -
Step6 : Click on the Green button 'Generate token' at the bottom of the page. Now you have the token presented to you.
Use this token instead of your Password when you do any Git specifc operations like clonning, commit, push etc.
Use this token while using Git via your IDE also.
Tip : If you are already using the Git url in your IDE & after that you are generating this token then how to make the changes
in that existing setup?
Solution : Go to Git perspective in your IDE, expand your repository. There you see - Branches, Tags, References,
Remotes.
Expand Remotes & you see (by default, if you have not changed the name of your default branch) 'Origin' which
will be pointing to the Git. It will be showing 2 further options - For Pull & one for Push.
You will need to update the credentials for both, as you will be doing both Pull & Push operations during your work
with Git. So right click on each & select Change Credentials there & provide token value as Password.
Also check that you are using correct user name there.
Use this token instead of your Password when you do any Git specifc operations like clonning, commit, push etc.
Use this token while using Git via your IDE also.
Tip : If you are already using the Git url in your IDE & after that you are generating this token then how to make the changes
in that existing setup?
Solution : Go to Git perspective in your IDE, expand your repository. There you see - Branches, Tags, References,
Remotes.
Expand Remotes & you see (by default, if you have not changed the name of your default branch) 'Origin' which
will be pointing to the Git. It will be showing 2 further options - For Pull & one for Push.
You will need to update the credentials for both, as you will be doing both Pull & Push operations during your work
with Git. So right click on each & select Change Credentials there & provide token value as Password.
Also check that you are using correct user name there.