git could be used to create new AWS Elastic Beanstalk Versions, EVEN IF YOUR PROJECT DOES NOT USE IT.
It works as such:
tmp-git-staging
directorytarget/<finalName>
This is the most practical way to deploy into AWS Elastic Beanstalk
Once you've made the basic setup (say, the one from this example), it as simple as:
$ mvn package beanstalk:fast-deploy
For more details, read the fast-deploy mojo docs
See how to Manage Versions