Hi.
I guess you are trying to connect using properties of workspace.
But Git & SVN are not available in that window. To add an existing project to git, you have to right click on your workspace, then, in popup menu that appears you have to select "Add to Source Control" option.
A new popup will show on with two choices: Git and Subversion (SVN). Choose Git. You will be prompted for your name and an email (those should match with those on your git server). After submitting that information, a local repository of your project will be created (you can add a comment for first commit, but this is optional).
When you complete above steps, open again workspace properties. Go to source control tab. You should see the information for git in a screen like the following:
Here you will have to fill missing information:
- User ID (for github in your case)
- Password/Token (I believe that you will have to create a token in github)
- Repository URL (you should create your repository in github, and put here it's url).
Also take a look at options available in advanced button (I suggest also to have TortoiseGit on your computer).
I strongly recommend you to read the following information from PB 2022 documentation:
Using Source Control - - Users Guide (appeon.com) and especially Using Git source control system - - Users Guide (appeon.com).
The documentation is good and the procedure is straight forward.
Andreas.