Yes, absolutely! Now that you are using ssh as a transport, you have completed half the task.
GitHub and Gitlab are remote (central) repositories. It all depends on the remote that you use to push your commits.
If you created a project on, say, GitHub and cloned it, you will see that the remote (by default origin ) points to the GitHub link. run $ git remote -v inside the project directory to check.
If you want to push the same project on GitLab, all you have to do is add another remote with a different name.
$ git remote add <different-remote-name> <gitlab-remote-link>
Now that you want to update a specific remote, just click on it.
Avin D'Silva
source share