Both TFVC and Git

In your visual studio project go to Settings  and in version control choose new repository