Rapeseed meal is severely restricted in its utilization as unconventional animal feed due to anti-nutritive compounds, such as glucosinolate, that are degraded to toxic nitriles such as 3-butenenitrile and 4-pentenenitrile in animals. Few studies on nitrilases that can degrade glucosinolate-derived nitriles have been reported thus far. In the present study, a nitrilase gene GiNIT from Gibberella intermedia was over-expressed in Escherichia coli and the purified recombinant nitrilase rGiNIT showed specific activities of 134.48 U/mg and 122.16 U/mg when using 3-butenenitrile and 4-pentenenitrile as substrates at the optimal pH, 7.5, and temperature, 45 °C, which is the highest reported in the literature. The conversion of 3-butenenitrile and 4-pentenenitrile by rGiNIT reached 81.89% and 80.23% after hydrolysis for 15 min and 300 min, respectively. Site-directed mutagenesis and molecular docking analysis revealed that the catalytic ability of rGiNIT depended on the substrate binding pocket comprising 13 key amino acid residues. These results provide a potential enzyme resource for rapeseed meal detoxification and theoretical guidance for protein engineering.