Take the 2-minute tour ×

I'm new to Git. I need to connect to a git repository using its URL and get information of that git repository in my ASP.NET application.

share|improve this question

closed as not constructive by Ram kiran, Andrew Whitaker, Márton Molnár, Adriano Repetti, Matthew Oct 27 '12 at 20:23


...and what have you tried so far? –  Burhan Khalid Oct 27 '12 at 9:48
I tried GitSharp but it connect to local Git repositories only. –  Ebeid Soliman El Sayed Oct 27 '12 at 9:59

3 Answers 3

If you are connecting to GitHub, you can use GitHub for windows. http://windows.github.com/

share|improve this answer

Git Extensions integrates it with Visual Studio, but I just use Git Bash that comes with Github for Windows as @Lain mentioned as I wanted to get used to using the command shell.

Using command line with Git is very easy, mainly because you won't get the horrible merge and update problems that you will get with Subversion, so the need for a Visual Studio addin is really negligible.

share|improve this answer

I tried GitSharp but it connect to local Git repositories only.

git and mercurial are distributed and decentralized. There is no "server"; your local clone is the server. github just provides a web interface and another server to back up your repositories too.

To get information on any git repository - you'll have to clone it locally. If you are only concerned about github, you can use the github api to get information about repositories that are hosted with them.

This will only work for repositories hosted on github; and not on other git repositories.

share|improve this answer
