Attempting to move git-data to postgres on a RDS instance in AWS

we have alot of data in our gitlab. i want to move all the data i.e. the git-data folder to postgres on a RDS instance in AWS which will be easy to maintain.

is it possible to move git-data to RDS in AWS??