The updated Braintree Payments module for Magento 2 can be installed using composer and the bellow command - 

composer require gene/module-braintree

The module does not work if it's placed in the app/code directory.

If you have already installed the module, you can update to the latest version using the command below:

composer update gene/module-braintree