How to use version control inside Visual Studio 2013?

When one creates a project in VS2013 there is an option to add it to source control so changes are shown in the Solution Explorer.

I was looking for a way to do this with the source code of UE4. I don’t know if it is possible since the project files are generated using the UnrealBuildTool.exe.

Is there a way to accomplish this?

You can always put a directory under git by the command line “git init” or use some UI like SourceTree. There’s nothing more that VS does except putting in you project a .ignore file that contains a common set of ignored files but you can do it by yourself. Usually I ignore the Intermediate, Saved and Binary directories and also the .sdf (intellisense database) file which is huge and also the .suo and .sln that can be generated anytime.

Thanks for the answer. Playing a little bit more with VS2013 I see that git is already integrated. When a file gets modified VS2013 shows the option to commit, see the file history among other things. I wasn’t seeing anything because I didn’t make any changes until now.