How to best import an existing codebase to work in two computers?

Hello:

New user here. I have a private git repo (set up in my own VPS), and I’d like to work on it in my two computers, a desktop and a laptop. Right now the codebase already exists in both my computers, where I work with it using Sourcetree. What is the best way to import my project into Cursor, so that I can work with it in both computers??

  1. Just import the existing local codebase and let it figure it out.
  2. Delete my existing local codebase, point Cursor to the remote git repo and let it clone it again in my computer.

In the latter case, could I still use Sourcetree to do source control in my code, or to work on it manually without Cursor? Ideally, I would like to be able to still work in my code as I am right now, but also open Cursor and let it do stuff and manage those changes using git/Sorucetree.