How to connect to remote repo?

How to connect to remote repo?

I'm using libgit2sharp and i'm having rouble connecting to my remote repo.

I'm using libgit2sharp and i'm having rouble connecting to my remote repo.

I can connect to a local repo but when i try to use my repo https://github.com/myProject/myRepo i get an error

LibGit2Sharp.LibGit2SharpException: failed to make directory './https:': The filename, directory name, or volume label syntax is incorrect.

Presumably this is because i'm not using the correct syntax. I've tried without https://, with www. i've tried just myProject/myRepo but they don't seem to work.

Here is the code in question. PathToRepo is the repo path and whenever i check the branches of my repo after it is created i ee that it is not connecting to the remote repo. The repo seems to create with no issues but it just doesn't sync to my repo. Ie. i could put in some bogus repo path and it will create with no problem but just not work.

 if (!Repository.IsValid(PathToRepo))
            {
                Repository.Init(PathToRepo);
            }

        repo = new Repository((PathToRepo));
        var brnch = repo.Branches.Where(x => x.FriendlyName == Branch).FirstOrDefault();
        if (brnch == null)
        {
            brnch = repo.CreateBranch(Branch);
        }
        Commands.Checkout(repo, brnch);


c-sharp git

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

C. C++. C#. 차이점 알려드림. 5분 순삭. Explain C.C++.C#. Like I'm Five

C. C++. C#. 차이점 알려드림. 5분 순삭. Explain C.C++.C#. Like I'm Five. 아시죠? C는 C++.C# 줄인말이 아니라는거?

Dicey Issues in C/C++

C/C++ problems. If you are familiar with C/C++then you must have come across some unusual things and if you haven’t, then you are about to. The below codes are checked twice before adding, so feel free to share this article with your friends.

Learn how to perform CRUD operations using C Sharp

QuickStart: CRUD Operations in C Sharp. Learn how to perform CRUD operations using C Sharp for MongoDB databases.

Loops in C++ | For, While, and Do While Loops in C++

In this Video We are going to see how to use Loops in C++. We will see How to use For, While, and Do While Loops in C++.

Using isdigit() in C/C++

In this article, we'll take a look at using the isdigit() function in C/C++. This is a very simple way to check if any value is a digit or not. Let's look