When you say, update, do you mean updating the version of WordPress you’re currently running on? Whenever you clone the repository it will automatically install the latest version (5.2.2). I don’t believe the git repository will disappear, as it’s still hooked into your site. You can always do a git pull in your cloned repository and grab the latest changes made to the master branch as opposed to updating manually through the dashboard.
Thanks!
Tyler