How to deploy our repo to AWS Elastic BeanStalk?

I’ve been looking around and all I’ve found are notes on how to set up CI/CD for GitLab and AWS. but what I’m looking for is how to do git clone inside an AWS EB instead.

Is that even possible and if not then will CI/CD automatically clone our repo into AWS EB after the setup? and can I not do a git pull inside AWS EB?

Also, if I am limited to CI/CD can I make it so that any push to master will not automatically be uploaded to AWS since those will still need manual review before they should be uploaded to the server.