Use git to clone the repository to your local machine. Pick a folder and execute the following command:
git clone https://github.com/TEdit/Terraria-Map-Editor.git.
You can use ssh or git extensions if you have those set up. For for detailed instructions see GitHub Cloning.
Open with Visual Studio
Open the folder you cloned TEdit source code, navigate to the src folder and double click TEdit.sln