There are several attempts to modify GR. One possibility is the \(f(R,L_m)\)  gravity theory which assumes that the geometric and the matter terms in the Einstein-Hilbert action are modified. This gravitational theory has been the first model to consider this coupling. In essence, it consists of replacing the Einstein-Hilbert action with an arbitrary function of the Ricci scalar \(R\)  and the matter Lagrangian \(L_m\)  [1]}, [2]}. Another generalization is the \(f(R,T)\)  gravity [3]}. In this model, the field equations are obtained from an arbitrary function that depends on the Ricci scalar \(R\)  and \(T\) , the trace of the energy-momentum tensor \(T_{\mu \nu }\) . The addition of \(T\)  in the gravitational Lagrangian leads to possible investigations of a quantum description of gravity from the \(f(R,T)\)  theory [4]}. In recent years, this modified gravitational theory has been intensively studied [5]}, [6]}, [7]}, [8]}, [9]}, [10]}, [11]}, [12]}, [13]}, [14]}, [15]}, [16]}, [17]}, [18]}, [19]}.
